package zuoye.test4;

public  class Breeder  {
    public void bread(Animal a){
        if(a instanceof Swiming){
            ((Swiming)a).swimming();
        }
    }

    public void Swiming(Swiming s){
        s.swimming();

    }



}
